//
//  SegmentBarConfig.h
//  SegmentBar_Example
//
//  Created by 王方伟 on 2017/12/4.
//  Copyright © 2017年 acct<blob>=0xE4BAA6616E64E5BF83  447246and457703. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SegmentBarConfig : NSObject
/** 选项卡的高度 */
@property (assign, nonatomic) CGFloat segmentHeight;
/** 背景色 */
@property (nonatomic, strong) UIColor *segmentBarBackColor;
/** 正常文字颜色 */
@property (nonatomic, strong) UIColor *itemNormalColor;
/** 选中文字颜色 */
@property (nonatomic, strong) UIColor *itemSelectColor;
/** 文字字体 */
@property (nonatomic, strong) UIFont *itemFont;
/** 指示器颜色 */
@property (nonatomic, strong) UIColor *indicatorColor;
/** 指示器高度 */
@property (nonatomic, assign) CGFloat indicatorHeight;
/** 指示器宽度 */
@property (nonatomic, assign) CGFloat indicatorExtraW;

- (SegmentBarConfig *(^)(UIColor *color))itemNormalColorBlock;
- (SegmentBarConfig *(^)(UIColor *color))itemSelectColorBlock;
- (SegmentBarConfig *(^)(UIColor *color))indicatorColorBlock;


+ (instancetype)defaultConfig;
@end
